<?php
class BaseAction extends Action {
    public $mall_order='';  //用户商城订单
	private $AppKeySecret;
	public $api59miao;
	
	function mod_init(){
		$this->mall_order=D('Mall_order');
		
		}
	function _initialize() {		
		
		$this->mod_init();		
		date_default_timezone_set('Asia/Shanghai');
        $this->AppKeySecret=Api59miao_Toos::GetAppkeySecret();
		$this->api59miao=new Api59miao($this->AppKeySecret);
		// 用户权限检查
		$this->check_priv();
		

	}
	//检查权限
	public function check_priv()
	{
		
	}
}